#ifndef _FILE_READER_IMP_
#define _FILE_READER_IMP_

#include "FileReader.h"
#include <fstream>

class FileReaderImp : public FileReader
{
public:
	FileReaderImp(void);
	~FileReaderImp(void);

	virtual bool OpenFile(std::string file);
	virtual void CloseFile();
	virtual void ResetFile();

	virtual BYTE ReadByte();
	virtual std::string ReadString();
	virtual int ReadInt();

	virtual bool Eof();
	virtual bool Good();

	virtual int GetInFileBytes();

private:
	std::ifstream _file;
	std::string _filename;
	int _readByteCount;
};

#endif